package com.three.storemanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.FrontUser;
import com.three.core.entity.StoreEvaluate;
import com.three.core.vo.R;
import com.three.storemanage.vo.EvaluateVo;
import com.three.storemanage.vo.SearchForm;
import com.three.storemanage.vo.StoreEvaluateVo;

import java.util.List;

/**
 * @FileName: EvaluateService
 * @Description:
 * @Author: GYX
 * @CreateTime: 2025/3/13 13:56
 * @Version: 1.0.0
 */
public interface EvaluateService {
    R<Page<EvaluateVo> > findEvaluateByCondition(SearchForm searchForm);

    R<List<FrontUser>> queryAll();

    R deleteEvaluate(Integer evaluateId);

    R addEvaluate(StoreEvaluate storeEvaluate);

    R updateEvaluate(StoreEvaluate storeEvaluate);

    R<StoreEvaluateVo> selectEvaluateByStoreName(String storeName);

    R<List<StoreEvaluate>> selectEvaluateByStoreId(Integer storeId);

}
